<div id="account">
<div style="display: none;" th:fragment="title" th:inline="text">Login
- Broadleaf Demo - Heat Clinic</div>

<div id="login">
<h3><span th:text="#{login.loginToAccount}">Login to Your
Account</span></h3>
<p><span th:text="#{login.alreadyMember}">Already a member?
Sign in using the form below</span>.</p>

<span class="error" th:if="${param.error}">
<p><span th:text="#{login.noMatchTryAgain}">The e-mail
address and/or password entered do not match our records. Please try
again</span></p>
</span>

<div class="clearfix">
<blc:form th:action="@{/login_post.htm}"
	method="post">
	<input type="hidden" name="successUrl" th:if="${successUrl}"
		th:value="${successUrl}" />

	<div class="form50"><label for="j_username"><span
		th:text="#{login.email}">Email</span></label> <input type="email"
		name="j_username"
		th:class="${param.error} ? 'field50 fieldError' : 'field50'" /></div>

	<div class="form50"><label for="j_password"><span
		th:text="#{login.password}">Password</span></label> <input type="password"
		name="j_password"
		th:class="${param.error} ? 'field50 fieldError' : 'field50'" /></div>

	<div class="login_register"><input class="login_button big red"
		type="submit" th:value="#{login.login}" /></div>

	<div class="login_register_alt_links"><a class="account"
		th:href="@{/register}"><span th:text="#{login.register}">Register</span></a>
	<br />
	<a class="account" th:href="@{/login/forgotPassword2}"><span
		th:text="#{login.forgotPassword}">Forgot Password</span></a></div>
</blc:form>

<h4>OR</h4>
<!--<blc:form th:action="@{/signin/twitter}" method="POST">
	<button type="submit"><img
		th:src="@{/img/social/sign-in-with-twitter-l-sm.png}" /></button>
</blc:form> <br />--> <blc:form th:action="@{/signin/facebook}"
	method="POST">

	<input type="hidden"
		value="email,user_about_me,user_activities,user_birthday,user_education_history,user_hometown,user_location,user_relationships,user_website,friends_birthday"
		name="scope" />
	<button type="submit"  clarss="btn_fb"><img
		th:src="@{/img/social/facebook_16.png}" /> &nbsp; Sign in with
	Facebook</button>
</blc:form></div>
</div>
</div>